home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / c_toolbx.arc / VIDEO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-03-30  |  925 b   |  40 lines

  1. /* video.h - define constants for Video_IO module */
  2.  
  3. /* screen attributes */
  4. #define NON_DISPLAY    0x00
  5. #define UNDERLINE    0x01
  6. #define NORMAL_DISPLAY    0x07
  7. #define REVERSE_VIDEO    0x70
  8. /* combine the following with the above values */
  9. #define HI_INTENSITY    0x08
  10. #define BLINK_BIT    0x80
  11.  
  12. /* video modes (as defined by the ROM BIOS */
  13. #define BW40_MODE    0
  14. #define CO40_MODE    1
  15. #define BW80_MODE    2
  16. #define CO80_MODE    3
  17. #define CO320_MODE    4
  18. #define BW320_MODE    5
  19. #define BW640_MODE    6
  20. #define MONO_MODE    7
  21.  
  22. /* ROM BIOS function values */
  23. /* (put one of these values into sreg.ah before calling */
  24. /* the VIDEO_IO services in the ROM BIOS) */
  25. #define V_INIT         0
  26. #define V_CTYPE      1
  27. #define V_SET_CUR     2
  28. #define V_GET_CUR     3
  29. #define V_SETPAGE     5
  30. #define V_SCRLUP     6
  31. #define V_SCRLDOWN     7
  32. #define V_CGA         8
  33. #define V_WCA         9
  34. #define V_WC        10
  35. #define V_WTTY        14
  36. #define V_STATE     15
  37.  
  38. /* end of video.h */
  39.  
  40.